package com.star.basedemo;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.mybatis.spring.annotation.MapperScans;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;


//@MapperScan("com.star.basedemo.mapper")  //我们手动配置了 不需要Springboot给我们自动配置
//exclude = {DataSourceAutoConfiguration.class}
@SpringBootApplication()
@Slf4j
public class BasedemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(BasedemoApplication.class, args);
        log.info("启动成功");
    }

}
